<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="common/commons.jspf" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="${basePath }static/bootstrap/css/bootstrapValidator.css"/>
<link rel="stylesheet" href="${basePath }static/bootstrap/css/bootstrapValidator.css"/>
<link rel="stylesheet" href="${basePath }static/bootstrap/css/bootstrapValidator.css"/>
</head>
<body style="background-image: url('${basePath}static/img/background.jpg');">
	<div class="panel panel-default" style="width: 50%;height: 30%;margin-left: 40%;margin-top: 30%;" >
		<div class="panel-heading">
			<div class="panel-title">这里放一个导航</div>
		</div>
		<div class="panel-body">
			<div class="form">
				<form class="form-horizontal" role="form" action="${basePath }user/login.do" method="post" id="loginForm">
					<div class="form-group">
						<label for="username" class="col-sm-2 control-label">用户名：</label>
						<div class="col-sm-10">
							<div class="input-group login-input">
								<span class="input-group-addon glyphicon glyphicon-user"></span>
								<input type="text" name="name" class="form-control username-input"
									placeholder="请输入用户名：zhangsan" required="required" style="margin-top:1px"/>
							</div>
						</div>
					</div>
					<div class="form-group">
						<label for="password" class="col-sm-2 control-label"  style="margin-top:1px">密码：</label>
						<div class="col-sm-10">
							<div class="input-group login-input">
								<input type="password" name="password" class="form-control pwd-input"
									placeholder="请输入密码：123456" required="required" style="margin-top:1px"/> <span
									class="input-group-addon glyphicon glyphicon-eye-open pwd-icon"
									style="cursor: pointer;"></span>
							</div>
						</div>
					</div>
					
					
					 <div class="form-group">
				      <div class="col-sm-offset-2 col-sm-10">
				         <div class="checkbox">
				            <label>
				               <input type="checkbox" name="autoLogin"> 记住两周
				            </label>
				         </div>
				      </div>
				   </div>
					
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<button type="submit" class="btn btn-primary">登录</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	
	
    <script type="text/javascript" src="${basePath }static/bootstrap/js/bootstrapValidator.min.js"></script>
    <script type="text/javascript" src="${basePath }static/js/login.js"></script>
    <script type="text/javascript" src="${basePath }static/js/validate.js"></script>
</body>
</html>
